# coding=utf-8
"""
sshTunnel 测试
"""
import paramiko

client = paramiko.SSHClient()
client.load_system_host_keys()
client.connect(hostname='192.168.1.51', port=22, username='root')
stdin, stdout, stderr = client.exec_command('ls -l')
print stdout.readlines()
#print "over"
client.close()